<?php
session_name(DicomScience);
session_start();

require('gset.php');
/*
 * Load Language File
 */
 if ($lang == '1'){
	require('./language/german.php');
} elseif ($lang == '2'){
	require('./language/english.php');
} elseif ($lang == '3'){
	require('./language/french.php');
} elseif ($lang == '4'){
	require('./language/italian.php');
}

/*
 * Reset Session Variables
 */
$_SESSION['userid'] = 0;
$_SESSION['userlevel'] = 0;
$_SESSION['firstname'] = $nls_guest_firstname;
$_SESSION['lastname'] = $nls_guest_lastname;
$_SESSION['username'] = "Guest";

/*
 * Tell Browser to expire (destroy) Cookie 
 */
setcookie("DicomScienceCookie", "", time() - 3600, "/");

Header("Location: portalMain.php");
exit();
?>